﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RelationshipTransferForm.aspx.cs" Inherits="ZHDJ.PersonalCenter.Module.RelationshipTransfer.RelationshipTransferFrom" %>
<%@ Register Src="RelationshipTransferHistory.ascx" TagName="ucHistory" TagPrefix="ZHDJ" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="../../../../Resource/themes/default/css/party.common.css" rel="stylesheet"
        type="text/css" />
    <link href="../../../../Resource/themes/default/css/party.portal.css" rel="stylesheet"
        type="text/css" />
    <link href="../../../../Resource/themes/default/css/portal.widgets.css" rel="stylesheet"
        type="text/css" />
    <script src="../../../../Resource/js/jquery/jquery.min.js"></script>
    <script type="text/javascript">
        function UrlRefresh(url) {
            window.parent.location.href = url;
        }

        $(function () {
            if ($("#ddlType").val() == 1) {
                $("#trhost").hide();
                $("#trOut").show();
            } else {
                $("#trhost").show();
                $("#trOut").hide();
            }
            $("#ddlType").change(function () {
                if ($("#ddlType").val() == 1) {
                    $("#trhost").hide();
                    $("#trOut").show();
                } else {
                    $("#trhost").show();
                    $("#trOut").hide();
                }

                if ($("#ddlType").val() == 2) {
                    $("#trfrom").hide();
                    $("#trIn").show();
                } else {
                    $("#trfrom").show();
                    $("#trIn").hide();
                }
            });
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <f:PageManager ID="PageManager1" runat="server" />
        <div id="divContent" runat="server" style="overflow: hidden">
            <div style="overflow: hidden">
                <table width="100%" cellspacing="1" cellpadding="0" border="0" class="formTable">
                    <tbody>
                        <tr>
                            <td colspan="4" style="background: #FFE6C8; text-align: center; height: 30px;">
                                <span style="font-size: 16px; font-weight: bold;">组织关系转移</span>
                            </td>
                        </tr>
                        <tr>
                            <td class="fle" style="width: 15%">申请人：
                            </td>
                            <td class="Right" style="width: 35%">
                                <asp:TextBox ID="txtApplicant" runat="server" Width="340px"></asp:TextBox>
                            </td>
                            <td class="fle" style="width: 15%">编号：
                            </td>
                            <td class="Right" style="width: 35%">
                                <asp:TextBox ID="txtSerialNumber" runat="server" Width="340px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="fle" style="width: 15%">转移类型：</td>
                            <td colspan="3" class="Right">
                                <asp:DropDownList ID="ddlType" runat="server" Width="345px"></asp:DropDownList><span style="color: red;">*</span>
                            </td>
                        </tr>
                        <tr id="trhost" runat="server">
                            <td class="fle" style="width: 15%">目标组织：
                            </td>
                            <td class="Right" colspan="3">
                                <f:TriggerBoxPicker runat="server" ID="ppTargetBranch" Width="345px" WindinsTitle="选择组织"
                                    WindinsHeight="450px" WindinsWidth="700px" ShowTrigger1="true" Trigger1Icon="Clear" EnableEdit="false"
                                    EmptyText="请选择组织" WindinsUrl="../../../Share/Picker/BranchToMemberPicker_Relationship.aspx">
                                </f:TriggerBoxPicker>
                            </td>
                        </tr>
                        <tr id="trOut" runat="server" style="display: none">
                            <td class="fle" style="width: 15%">目标组织：
                            </td>
                            <td class="Right" colspan="3">
                                <asp:TextBox ID="txtToOut" runat="server" Width="340px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr id="trfrom" runat="server">
                            <td class="fle">所属组织：
                            </td>
                            <td class="Right">
                                <f:TriggerBoxPicker runat="server" ID="ppBranch" Width="345px" WindinsTitle="选择组织"
                                    EnableEdit="false" WindinsHeight="450px"
                                    WindinsWidth="700px" ShowTrigger1="true"
                                    Trigger1Icon="Clear" ShowTrigger="false"
                                    EmptyText="请选择组织" EnablePicker="false"
                                    WindinsUrl="../../../Share/Picker/BranchToMemberPicker_Relationship.aspx">
                                </f:TriggerBoxPicker>
                            </td>
                            <td class="fle">政治面貌：
                            </td>
                            <td class="Right">
                                <asp:DropDownList ID="ddlPoliticsLineament" runat="server" Width="345px"></asp:DropDownList>
                            </td>
                        </tr>
                        <tr id="trIn" runat="server" style="display: none">
                            <td class="fle" style="width: 15%">所属组织：
                            </td>
                            <td class="Right" colspan="3">
                                <asp:TextBox ID="txtToIn" runat="server" Width="340px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="fle">身份证号：
                            </td>
                            <td class="Right">
                                <asp:TextBox ID="txtIDCard" runat="server" Width="340px"></asp:TextBox>
                            </td>
                            <td class="fle">民族：
                            </td>
                            <td class="Right">
                                <asp:TextBox ID="txtNation" runat="server" Width="340px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="fle">年龄：
                            </td>
                            <td class="Right">
                                <asp:TextBox ID="txtAge" runat="server" Width="340px"></asp:TextBox><span style="color: red;">*</span>
                            </td>
                            <td class="fle">性别：
                            </td>
                            <td class="Right">
                                <asp:RadioButtonList runat="server" ID="radGrean" RepeatDirection="Horizontal" Enabled="false">
                                    <asp:ListItem Text="男" Value="0" Selected="True"></asp:ListItem>
                                    <asp:ListItem Text="女" Value="1"></asp:ListItem>
                                </asp:RadioButtonList>
                            </td>
                        </tr>
                        <tr>
                            <td class="fle">申请人联系电话：
                            </td>
                            <td class="Right">
                                <asp:TextBox ID="txtMobileNo" runat="server" Width="340px"></asp:TextBox>
                            </td>
                            <td class="fle">所属组织联系电话：
                            </td>
                            <td class="Right">
                                <asp:TextBox ID="txtFromBranchMobileNo"
                                    runat="server" Width="340px"></asp:TextBox><span style="color: red;">*</span>
                            </td>
                        </tr>
                        <tr>
                            <td class="fle">所属组织传真：
                            </td>
                            <td class="Right">
                                <asp:TextBox ID="txtFromBranchFax" runat="server" Width="340px"></asp:TextBox><span style="color: red;">*</span>
                            </td>
                            <td class="fle">所属组织邮编：
                            </td>
                            <td class="Right">
                                <asp:TextBox ID="txtFromBranchZip" runat="server" Width="340px"></asp:TextBox><span style="color: red;">*</span>
                            </td>
                        </tr>
                        <tr>
                            <td class="fle">所属组织通讯地址：
                            </td>
                            <td class="Right" colspan="3">
                                <asp:TextBox ID="txtFromBranchAddress" runat="server" Width="94.5%"></asp:TextBox><span style="color: red;">*</span>
                            </td>
                        </tr>
                        <tr>
                            <td class="fle">党费缴纳日期：
                            </td>
                            <td class="Right">
                                <f:DatePicker ID="dtMemberCost" runat="server" Width="368px" DateFormatString="yyyy-MM"></f:DatePicker>
                            </td>
                            <td class="Right">&nbsp;
                            </td>
                            <td class="Right">&nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td class="fle">申请内容：
                            </td>
                            <td class="Right" colspan="3">
                                <asp:TextBox ID="txtExplain" runat="server" Width="94.5%" TextMode="MultiLine" Height="100px"></asp:TextBox>
                            </td>
                        </tr>

                        <tr>
                            <td colspan="4" style="text-align: center;">
                                <asp:Button ID="btnConfirm" runat="server" Text="确定" OnClick="btnConfirm_Click" />
                                <asp:Button ID="btnCancel" runat="server" Text="取消" />
                            </td>
                        </tr>
                    </tbody>
                </table>
                
                <div style="text-align: center">
                    <img src="../../../../Resource/themes/default/images/PartyEx/relationship-img.jpg" />
                </div>
            </div>
        </div>
    </form>
</body>
</html>
